package com.xoa.dao.workflow;

import com.xoa.model.workflow.FlowRun;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface FlowDestroyMapper {
/**/
    public List<String> getFlowRunList();
/**/
  //  public int deleteFlowRunByRunId(@Param("runId")Integer runId);
/**/
    public int deleteFlowRunByRunIdArray(@Param("runIdArray") String[] runIdArray);
    /**/
    public int deleteFlowRunPrcsByRunIdArray(@Param("runIdArrays") String[] runIdArray);
/**/
    public int updateFlowRunByRunId(@Param("runId") int runId);
/**/
    public int updateFlowRunByRunIdArray(@Param("runIdArray") String[] runIdArray);

    public List<Integer> getFlowIdByRunIdArray(String[] runIdArrayInt);

    public int deleteFlowDataNum(@Param("runId") String runId, @Param("flowId") String flowId);

    public int updateFlowRunDelFalg();

    /** **/
    public List<FlowRun> selectFlowRunListBycondition(Map maps);

}
